<include file="__PUBLIC__/_header" />
<style>
    caption{
        cursor: pointer;
    }
    body{
        overflow-x: hidden;
    }
    input[name=m_tag]{
        margin-right:5px ;
    }
    #sp_tag label{
        width:10%;
    }
    .ui-dialog {
        position: absolute;
        top: 0;
        left: 0;
        padding: .2em;
        width: 300px;
        overflow: hidden;
        outline: 0;
        background-clip: padding-box;
        background-color: #FFFFFF;
        border: 1px solid rgba(0, 0, 0, 0.3);
        border-radius: 6px 6px 6px 6px;
        box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
        outline: medium none;
        position: fixed;
        z-index: 1050;
    }
    .ui-dialog .ui-dialog-titlebar { /*padding: .4em 1em;*/
        position: relative;
        padding:5px 15px;
        border:0px 0px 0px 1px solid;
        border-color: white;
        padding: 5px 15px;
        font-size: 18px;
        text-decoration:none;
        background:none;
        -moz-border-radius-bottomright: 0px;
        -webkit-border-bottom-right-radius: 0px;
        -khtml-border-bottom-right-radius: 0px;

        -moz-border-radius-bottomleft: 0px;
        -webkit-border-bottom-left-radius: 0px;
        -khtml-border-bottom-left-radius: 0px;
        border-bottom-left-radius: 0px;
        border-bottom:1px solid #ccc;
    }
    .ui-dialog .ui-dialog-title {
        float: left;
        color:#404040;
        font-weight:bold;
        margin-top:5px;
        margin-bottom:5px;
        padding:5px;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .ui-dialog .ui-dialog-titlebar-close {
        position: absolute;
        right: .3em;
        top: 50%;
        width: 19px;
        margin: -20px 0 0 0;
        padding: 1px;
        height: 18px;
        font-size: 20px;
        font-weight: bold;
        line-height: 13.5px;
        text-shadow: 0 1px 0 #ffffff;
        filter: alpha(opacity=25);
        -khtml-opacity: 0.25;
        -moz-opacity: 0.25;
        opacity: 0.25;
        background:none;
        border-width: 0;
        border:none;
        box-shadow: none;
    }

    .ui-dialog .ui-dialog-titlebar-close span {
        display: block;
        margin: 1px;
        text-indent: 9999px;
    }

    .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 1px;   filter: alpha(opacity=90);
        -khtml-opacity: 0.90;
        -moz-opacity: 0.90;
        opacity: 0.90;
    }

    .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }

    .ui-dialog .ui-dialog-buttonpane {
        text-align: left;
        border-width: 1px 0 0 0;
        background-image: none;
        margin: .5em 0 0 0;
        background-color: #f5f5f5;
        padding: 5px 15px 5px;
        border-top: 1px solid #ddd;
        -webkit-border-radius: 0 0 6px 6px;
        -moz-border-radius: 0 0 6px 6px;
        border-radius: 0 0 6px 6px;
        -webkit-box-shadow: inset 0 1px 0 #ffffff;
        -moz-box-shadow: inset 0 1px 0 #ffffff;
        box-shadow: inset 0 1px 0 #ffffff;
        zoom: 1;
        margin-bottom: 0;

    }
</style>
<link href="__APP_SKIN__js/colorbox/colorbox.css" rel="stylesheet" type="text/css" />
<link href="__APP_SKIN__js/uploadify/uploadify.css?2" rel="stylesheet" type="text/css" />
<div class="navbar navbar-default" id="navbar">
    <script type="text/javascript">
        try{
            ace.settings.check('navbar' , 'fixed')}catch(e){

        }
    </script>
    <include file="__PUBLIC__/_header_title"/>
    <!-- /.container -->
</div>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try{
            ace.settings.check('main-container' , 'fixed')}catch(e){
        }
        var machine_no_arr = "{$menu_list.machine_no}";
    </script>
    <div class="main-container-inner">
        <a class="menu-toggler" id="menu-toggler" href="#"> <span class="menu-text"></span> </a>
        <div class="sidebar" id="sidebar">
            <script type="text/javascript">
                try{ace.settings.check('sidebar' , 'fixed')}catch(e){

                }
            </script>
            <include file="__PUBLIC__/_nav" />
            <!-- /.nav-list -->
            <div class="sidebar-collapse" id="sidebar-collapse">
                <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
            </div>
            <script type="text/javascript">
                try{
                    ace.settings.check('sidebar' , 'collapsed')}catch(e){
                }
            </script>
        </div>
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <script type="text/javascript">
                    try{
                        ace.settings.check('breadcrumbs' , 'fixed')
                    }catch(e){
                    }
                </script>
                <ul class="breadcrumb">
                    <li> <i class="icon-home home-icon"></i> <a href="{:Controller::_createUrl('index/index')}">首页</a></li>
                    <li class="active">商品中心</li>
                    <li class="active">发布商品</li>
                </ul>
                <!-- .breadcrumb -->
            </div>
            <div class="page-content">
                <div class="page-header">
                    <h1> 商品中心 <small> <i class="icon-double-angle-right"></i> 发布商品 </small> </h1>
                </div>
                <!-- /.page-header -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <div class="row">
                            <div class="col-xs-12">
                                <input type="hidden" name="m_id" id="m_id">
                                <form id="addData" class="form-horizontal" role="form" name="edit-form" >
                                    <div id="del_attch"></div>
                                    <table class="table table-bordered table-hover definewidth m10 " style="width: 100%;margin: 10px;">
                                        <caption style="text-align: left">基本参数<b class="arrow icon-angle-down"></b></caption>
                                        <tbody>
                                        <tr>
                                            <th class="col-xs-2 col-sm-1">商品名称</th>
                                            <td colspan="3"><input class="col-xs-10 col-sm-5" placeholder="商品名称不能为空"  type="text" name="m_name" value="{$menu_list.m_name}" /></td>
                                        </tr>
                                        <tr>
                                            <th>商品条码</th>
                                            <td colspan="3"><input class="col-xs-10 col-sm-5" placeholder="商品条码不能为空"  type="text" name="bar_code" value="{$menu_list.bar_code}" /></td>
                                        </tr>
                                        <tr>
                                            <th>商品关键字</th>
                                            <td colspan="3" style="text-align: left">
                                                <input  class="col-xs-10 col-sm-5" type="hidden"  name="m_keyword" value="">
                                                <div class="form-group">
                                                    <div class="col-sm-9">
                                                        <input type="text" id="add_ip" placeholder="自定义" class="col-xs-1 col-sm-2 tooltip-success" data-placement="top" data-rel="tooltip" data-original-title=""  value=""/>
                                                        <button type="button" class="btn btn-sm btn-success col-sm-1" style="height:30px;margin-left:14px;float: left;" onclick="addInfo();"> Add <i class="icon-arrow-right icon-on-right bigger-110"></i> </button>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <!--<label class="col-sm-1 control-label no-padding-right" for="serverIp"  style="text-align:left">关键字 </label>-->
                                                    <div class="col-sm-8">
                                                        <div class="col-sm-6" style="padding-left:0;">
                                                            <select multiple="" class="col-sm-10 chosen-select" id="serverIp" data-placeholder="关键字">
                                                                <volist id="vo" name="keywords">
                                                                    <option value='{$vo}' selected='selected'>{$vo}</option>
                                                                </volist>
                                                            </select>
                                                            <button type="button" class="btn btn-sm btn-success col-sm-1" style="height:30px;padding:0;margin-right:20px;float:right;" id="select_all">全选</button>
                                                        </div>
                                                    </div>
                                                </div>
                                            </td>

                                        </tr>
                                        <tr>
                                            <th>所属品牌</th>
                                            <td colspan="3">
                                                {$htmls.brand_html}
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>适配机型</th>
                                            <td colspan="3">
                                                <div id="machine_no" style="max-height:150px; overflow-y: auto"></div>
                                            </td>
                                        </tr>
                                        <tr style="display: none">
                                            <th>供应商</th>
                                            <td colspan="3">
                                               <input type="hidden" name="m_supplier" value="{:LoginHelper::getUserId()}">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th> 商品分类</th>
                                            <td colspan="3">
                                                <input type="text" placeholder="请选择分类" id="kind_name" name="kind_name" value="{$product_info.kind_name}" />
                                                <input type="hidden" id="kind_id" name="kind_id" value="{$menu_list.kind_id}" />&nbsp; <a class="set_kind btn btn-sm btn-success " href="javascript:void(0);">选择</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>商品标签</th>
                                            <td colspan="3">
                                                <div class=" col-xs-10 col-sm-5" style="padding-left:0;padding-right:0; ">
                                                    {$htmls.hot_html}
                                                </div>
                                                <div class="col-sm-5" id="stockchange">
                                                    <ul class="breadcrumb" >
                                                        <ol style="height: 32px;">
                                                            <div style="width: 150px;height: 20px;float: left">
                                                                最迟配送时间
                                                            </div>
                                                            <input type="text" class="col-sm-3" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" name="m_deliver_limit_time" value="" />
                                                        </ol>
                                                        <ol style="height: 32px;">
                                                            <div style="width: 150px;height: 20px;float: left">
                                                                促销数量
                                                            </div>
                                                            <input class="col-sm-3" type="text" name="m_stock" value="" />
                                                        </ol>
                                                        <ol style="height: 32px;">
                                                            <div id="purchasenumchange">
                                                                <div style="width: 150px;height: 20px;float: left">
                                                                    最小限购数量
                                                                </div>
                                                                <input class="col-sm-3" type="text" name="limit_purchase_num" value="" />
                                                            </div>
                                                        </ol>
                                                    </ul>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>商品描述</th>
                                            <td>{$htmls.desc_html}</td>
                                            <th>商品详情</th>
                                            <td>{$htmls.content_html}</td>
                                        </tr>
                                        <tr>
                                            <th>商品价格</th>
                                            <td colspan="3">市场价格<input type="text"  placeholder="市场价格不能为空" style="margin-left: 6px;" name="m_usual_price" value="{$menu_list.m_usual_price}" />
                                                <span class="col-sm-offset-1">零售价<input placeholder="零售价不能为空"  style="margin-left: 6px;" type="text" name="m_price" value="{$menu_list.m_price}" /> </span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>规格描述</th>
                                            <td colspan="3"><input  type="text" placeholder="规格描述不能为空" name="tag_name" value="{$menu_list.tag_name}" /></td>
                                        </tr>
                                        <tr>
                                            <th width="6%">商品规格</th>
                                            <td colspan="3">
                                                <div id="sp_tag" style="padding-left:0;">
                                                    {$htmls.m_tag_html}
                                                   <div style="margin-top: 10px;">
                                                       <button class="btn btn-primary"  style="border:none" type="button" id="add_tag">自定义 </button>
                                                       <div style="display: inline-block;" class="tag_txt">
                                                           <input  id="tags" type="text" style="height: 32px;">
                                                           <button class="btn btn-info" style="border:none" type="button" id="sure_tag">确定 </button>
                                                           <button class="btn btn-default" style="border:none" type="button" id="default_tag">取消 </button>
                                                       </div>
                                                   </div>
                                                </div>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td colspan="4">
                                                <div class="col-md-offset-4 col-md-9">
                                                    <button class="btn btn-info" type="button" id="base_submit"> <i class="icon-ok bigger-110"></i> 确定 </button>
                                                    <button class="btn btn-info" type="button" id="base_cancel"> <i class="icon-ok bigger-110"></i> 存入草稿 </button>
                                                </div> </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                    <table class="table table-bordered table-hover definewidth m10 " style="width: 100%;margin: 10px;">
                                        <caption style="text-align: left">附件 <b class="arrow icon-angle-down"></b></caption>
                                        <tr>
                                            <th class="col-xs-2 col-sm-1">上传图片</th>
                                            <td >
                                                <a id="b_pic1" idx="1" name="file_upload"  multiple="true" >上传</a>
                                            </td>
                                        </tr>
                                        <tfoot>
                                        <tr>
                                            <td colspan="22">
                                                <div class="col-md-offset-4 col-md-9">
                                                    <button class="btn btn-info" type="button" id="add_attach"> <i class="icon-ok bigger-110"></i> 确定 </button>
                                                    <button class="btn btn-info" type="button" id="save_attach"> <i class="icon-ok bigger-110"></i> 存入草稿 </button>
                                                </div>
                                            </td>
                                        </tr>
                                        </tfoot>
                                    </table>
                                    <!-- 修改 -->
                                </form>
                                <form class="form-horizontal"   style="display: block" name="t_26_merchandise_attradministrator">
                                    <table class="table table-bordered table-hover definewidth m10 " style="width: 100%;margin: 10px;">
                                    <caption style="text-align: left">扩展参数 <b class="arrow icon-angle-up"></b></caption>
                                    <tbody>
                                        <tr>
                                            <th class="col-xs-2 col-sm-1">工作质量</th>
                                                <td>
                                                    <input name="attr1" class="col-xs-10 col-sm-8" value="{$attr_list.attr1}" type="text">
                                                </td>
                                            <th >标准斗容</th>
                                            <td>
                                                <input name="attr2" class="col-xs-10 col-sm-8"  value="{$attr_list.attr2}" type="text">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th >理论油耗</th>
                                            <td>
                                                <input name="attr3" class="col-xs-10 col-sm-8"  value="{$attr_list.attr3}" type="text">
                                            </td>
                                            <th >代理商</th>
                                            <td>
                                                <input name="attr4" class="col-xs-10 col-sm-8"  value="{$attr_list.attr4}" type="text">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th >发动机品牌/型号</th>
                                            <td>
                                                <input name="attr6" class="col-xs-10 col-sm-8"  value="{$attr_list.attr6}" type="text">
                                            </td>
                                            <th >主泵型号</th>
                                            <td>
                                                <input name="attr7" class="col-xs-10 col-sm-8"  value="{$attr_list.attr7}" type="text">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th >主阀型号</th>
                                            <td>
                                                <input name="attr8" class="col-xs-10 col-sm-8"  value="{$attr_list.attr8}" type="text">
                                            </td>
                                            <th >行走马达型号</th>
                                            <td>
                                                <input name="attr9" class="col-xs-10 col-sm-8"  value="{$attr_list.attr9}" type="text">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th >回转马达型号</th>
                                            <td>
                                                <input name="attr10" class="col-xs-10 col-sm-8"  value="{$attr_list.attr10}" type="text">
                                            </td>
                                            <th >整机产地</th>
                                            <td>
                                                <input name="attr11" class="col-xs-10 col-sm-8"  value="{$attr_list.attr11}" type="text">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th >视频</th>
                                            <td>
                                                <input name="m_video_url" class="col-xs-10 col-sm-8" value="{$attr_list.m_video_url}" type="text">
                                            </td>
                                            <th >说明书</th>
                                            <td>
                                                <input name="m_instructions_url" class="col-xs-10 col-sm-8" value="{$attr_list.m_instructions_url}" type="text">
                                            </td>
                                        </tr>
                                        <tr >
                                            <th >优惠政策</th>
                                            <td colspan="3">
                                                <input name="m_preferential_policy"  class="col-xs-10 col-sm-5" value="{$attr_list.m_preferential_policy}" type="text">
                                            </td>
                                        </tr>
                                        <tr>
                                            <th >预售规则</th>
                                            <td>
                                                {$htmls.rules_html}
                                            </td>
                                            <th >产品特性</th>
                                            <td>
                                                {$htmls.special_html}
                                            </td>
                                         </tr>

                                        <tr>
                                            <th >多功能辅件</th>
                                            <td>
                                                {$htmls.part_html}
                                            </td>

                                            <th >性能参数</th>
                                            <td>

                                                {$htmls.url1_html}
                                            </td>
                                        </tr>
                                        <tr>
                                            <th >图片链接</th>
                                            <td>

                                                {$htmls.url2_html}

                                           </td>

                                            <th >视频链接</th>
                                            <td>

                                                {$htmls.url3_html}

                                            </td>
                                        </tr>
                                        <tr>
                                            <th >口碑链接</th>
                                            <td>
                                                {$htmls.url4_html}
                                             </td>
                                        </tr>
                                    </tbody>
                                    <tfoot>
                                    <tr>
                                        <td colspan="22">
                                            <div class="col-md-offset-4 col-md-9">
                                                <button class="btn btn-info" type="button" id="add_attr"> <i class="icon-ok bigger-110"></i> 确定 </button>
                                                <button class="btn btn-info" type="button" id="save_attr"> <i class="icon-ok bigger-110"></i> 存入草稿 </button>
                                            </div>
                                        </td>
                                    </tr>
                                    </tfoot>
                                </table>
                                </form>
                            </div>
                            <!-- /span -->
                        </div>
                        <!-- /row -->
                    </div>
                    <!-- PAGE CONTENT ENDS -->
                </div>
                <!-- /.row -->
            </div>
            <!-- /.page-content -->
            <input type="hidden" id="loadDataUrl" value="{:Controller::createUrl('vis/merchandise/getMachinoNoByBrandId')}">
            <input type="hidden" id="uploadSwf" value="__APP_SKIN__js/uploadify/uploadify.swf">
            <input type="hidden" id="uploader" value="{:Controller::createUrl('vis/file/index')}">
            <input type="hidden" id="service_url" value="{:Controller::getConfig('file_server_url')}">
            <input type="hidden" id="addMenu" value="{:Controller::createUrl('vis/merchandise/addMenu')}">
            <input type="hidden" id="addAttach" value="{:Controller::createUrl('vis/merchandise/addAttach')}">

            <input type="hidden" id="addMachine" value="{:Controller::createUrl('vis/merchandise/addMerchandiseAttr')}">
            <input type="hidden" id="addHref" value="{:Controller::_createUrl('merchandise/list')}">
        </div>
    </div>
</div>
<div id="dialog" style="display: none" title="选择商品分类">
    {$tree_v}
</div>
<!-- /.main-content -->

<script type="text/javascript">
    window.jQuery || document.write("<script src='__APP_SKIN__js/jquery-2.0.3.min.js'>"+"<"+"/script>");
</script>
<!-- <![endif]-->
<!--[if IE]>
<script type="text/javascript">
    window.jQuery || document.write("<script src='__APP_SKIN__js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->
<script type="text/javascript">
    if("ontouchend" in document) document.write("<script src='__APP_SKIN__js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
</script>
<script src="__APP_SKIN__js/jquery-2.0.3.min.js"></script>
<script src="__APP_SKIN__js/bootstrap.min.js"></script>
<script src="__APP_SKIN__js/typeahead-bs2.min.js"></script>
<!-- page specific plugin scripts -->
<!--[if lte IE 8]>
<script src="__APP_SKIN__js/excanvas.min.js"></script>
<![endif]-->
<!--<script src="__APP_SKIN__js/jquery-ui-1.10.3.full.min.js"></script>-->
<script src="__APP_SKIN__js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="__APP_SKIN__js/jquery.ui.touch-punch.min.js"></script>
<script src="__APP_SKIN__js/bootbox.min.js"></script>
<script src="__APP_SKIN__js/jquery.gritter.min.js"></script>
<script src="__APP_SKIN__js/chosen.jquery.min.js"></script>
<script src="__APP_SKIN__js/bootstrap-tag.min.js"></script>
<script src="__APP_SKIN__js/bootstrap-timepicker.min.js"></script>
<script src="__APP_SKIN__js/uploadify/jquery.uploadify.js?12" type="text/javascript"></script>
<script src="__APP_SKIN__js/colorbox/colorbox.js" type="text/javascript"></script>
<script src="http://admin.51guipiao.com/app/grain/views/skin/js/My97DatePicker/WdatePicker.js"></script>

<!-- ace scripts -->
<!-- basic scripts -->
<script type="text/javascript">
    window.jQuery || document.write("<script src='__APP_SKIN__js/jquery-2.0.3.min.js'>"+"<"+"script>");
</script>
<!-- <![endif]-->
<!--[if IE]>
<script type="text/javascript">
    window.jQuery || document.write("<script src='__APP_SKIN__js/jquery-1.10.2.min.js'>"+"<"+"script>");
</script>
<![endif]-->
<script type="text/javascript">
    if("ontouchend" in document) document.write("<script src='__APP_SKIN__js/jquery.mobile.custom.min.js'>"+"<"+"script>");
</script>
<script src="__APP_SKIN__js/bootstrap.min.js"></script>
<script src="__APP_SKIN__js/typeahead-bs2.min.js"></script>
<!-- page specific plugin scripts -->
<!--[if lte IE 8]>
<script src="__APP_SKIN__js/excanvas.min.js"></script>
<script src="__APP_SKIN__js/jquery-2.0.3.min.js"></script>
<![endif]-->
<script src="__APP_SKIN__js/jquery-ui-1.10.3.full.min.js"></script>
<script src="__APP_SKIN__js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="__APP_SKIN__js/chosen.jquery.min.js"></script>
<script src="__APP_SKIN__js/jquery.ui.touch-punch.min.js"></script>
<script src="__APP_SKIN__js/jquery.slimscroll.min.js"></script>

<!-- ace scripts -->
<script src="__APP_SKIN__js/ace-elements.min.js"></script>
<!--<script src="__APP_SKIN__js/ace.min.js"></script>-->
<script src="__APP_SKIN__js/jqGrid/jquery.jqGrid.min.js"></script>
<script src="__APP_SKIN__js/jqGrid/i18n/grid.locale-en.js"></script>
<script src="__APP_SKIN__js/bootstrap-tagsinput.min.js"></script>
<script type="text/javascript" src="__APP_SKIN__js/date-time/bootstrap-datetimepicker.js" charset="UTF-8"></script>

<script type="text/javascript" src="__APP_SKIN__js/add.js?11" charset="UTF-8"></script>
<link href="http://admin.51guipiao.com/app/grain/views/skin/treeview/treeview.css"   rel="stylesheet" type="text/css">
<script src="http://admin.51guipiao.com/app/grain/views/skin/treeview/treeview.js" type="text/javascript"></script>
<script src="http://admin.51guipiao.com/app/grain/views/skin/js/My97DatePicker/calendar.js" type="text/javascript"></script>
<script type="text/javascript" src="http://admin.51guipiao.com/app/grain/views/skin/js/menu-kind-edit.js"></script>
<input type="hidden" id="texthidden" value='{$menu_list.m_desc}'>
<input type="hidden" id="contenthidden" value='{$menu_list.content}'>
<volist name="attch_list" id="vo">
    <input type="hidden" class="hidden_pic" value="{$vo.file_name}">
</volist>

<input type="hidden" id="hidden_m_id" value="{$menu_list.m_id}">
<input type="hidden" id="hidden_pre_sale_rules" value='{$attr_list.pre_sale_rules}'>
<input type="hidden" id="hidden_m_special_desc" value='{$attr_list.m_special_desc}'>
<input type="hidden" id="hidden_m_multifunctional_auxiliary_part" value='{$attr_list.m_multifunctional_auxiliary_part}'>
<input type="hidden" id="hidden_url1" value='{$attr_list.url1}'>
<input type="hidden" id="hidden_url2" value='{$attr_list.url2}'>
<input type="hidden" id="hidden_url3" value='{$attr_list.url3}'>
<input type="hidden" id="hidden_url4" value='{$attr_list.url4}'>

</body>
</html>